package com.ruoyi.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.business.domain.Feedback;
import com.ruoyi.business.mapper.FeedbackMapper;
import com.ruoyi.business.service.IFeedbackService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FeedbackServiceImpl extends ServiceImpl<FeedbackMapper, Feedback> implements IFeedbackService {

    @Resource
    private FeedbackMapper feedbackMapper;

    public List<Feedback> getFeedbackList(Feedback feedback){
        return feedbackMapper.selectFeedbackList(feedback);
    }

    public int insertFeedback(Feedback feedback) {
        return feedbackMapper.insertFeedback(feedback);
    }


}
